package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF10BW0800 {
    private static double[] cer = {
            -2.5249e-10,
            4.1465e-08,
            -2.1035e-07,
            -0.00023649,
            0.012744,
            0.64066,
            0.84731,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -15.7301,
                    -6.5519,
                    0.81806,
                    -0.18902,
                    3.4731,
                    6.4486,
                    6.0823,
                    5.2355,
                    4.3886,
                    4.1826,
                    4.0682,
                    3.3815,
                    2.8322,
                    3.1527,
                    2.6033,
                    3.1984,
                    3.0153,
                    2.878,
                    2.0998,
                    1.6649,
                    2.1913,
                    2.1913,
                    2.0998,
                    1.7336,
                    1.6878,
                    1.6878,
                    1.8709,
                    2.054,
                    2.0082,
                    1.6878,
                    1.5963,
                    1.5047,
                    1.8251,
                    1.7794,
                    1.7794,
                    1.9167,
                    1.6878,
                    1.7336,
                    2.0082,
                    2.2829,
                    1.9625,
                    1.8709,
                    2.3745,
                    2.054,
                    3.5189,
                    3.4731,
                    3.1984,
                    3.8393,
                    4.3886,
                    3.8393,
                    4.1597,
                    4.3886,
                    4.6633,
                    4.8006,
                    4.5717,
                    4.4802,
                    4.709,
                    4.709,
                    4.709,
                    4.6633,
                    4.8922,
                    6.0823,
                    6.4486,
                    6.4486,
                    7.2725,
                    7.1352,
                    7.2725,
                    7.2267,
                    7.2725,
                    6.9979,
                    7.181,
                    7.4556,
                    7.9134,
                    7.7761,
                    7.7761,
                    8.2338,
                    7.9134,
                    8.2338,
                    8.0965,
                    8.4169,
                    8.9205,
                    8.6916,
                    8.6458,
                    9.6071,
                    9.1494,
                    8.5085,
                    8.1423,
                    8.9205,
                    8.9663,
                    9.0578,
                    9.424,
                    9.2867,
                    9.012,
                    9.6529,
                    9.9733,
                    9.6529,
                    9.6987,
                    10.0191,
                    9.5156,
                    9.2409,
                    9.836,
                    9.5156,
                    9.6529,
                    10.248,
                    9.9733,
                    9.6529,
                    10.2022,
                    10.2022,
                    10.1564,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
                    7.3183,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
